package com.ruoyi.purchase.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
@Data
public class PurchaseOrderPageVO {


        /** 采购订单号 */
        private String poId;

        /** 采购组织 */
        private String poOrg;

        // 存货信息
        /** 存货编码 */
        private String itemId;
        /** 存货名称 */
        private String itemName;
        /** 规格型号 */
        private String spec;
        /** 计量单位 */
        private String uom;

        // 采购详情字段

        public String getVendorName() {
            return vendorName;
        }

        @Override
        public String toString() {
            return "PurchaseOrderPageVO{" +
                    "poId='" + poId + '\'' +
                    ", poOrg='" + poOrg + '\'' +
                    ", itemId='" + itemId + '\'' +
                    ", itemName='" + itemName + '\'' +
                    ", spec='" + spec + '\'' +
                    ", uom='" + uom + '\'' +
                    ", id=" + id +
                    ", poNum=" + poNum +
                    ", codeNum=" + codeNum +
                    ", notcodeNum=" + notcodeNum +
                    ", remainingNum=" + remainingNum +
                    ", payoffNum=" + payoffNum +
                    ", rejectNum=" + rejectNum +
                    ", returnNum=" + returnNum +
                    ", receivedNum=" + receivedNum +
                    ", receivedStatus=" + receivedStatus +
                    ", createdAt=" + createdAt +
                    ", createdPerson='" + createdPerson + '\'' +
                    ", updatedAt=" + updatedAt +
                    ", vendorId='" + vendorId + '\'' +
                    ", vendorName='" + vendorName + '\'' +
                    '}';
        }

        public void setVendorName(String vendorName) {
            this.vendorName = vendorName;
        }

        public String getVendorId() {
            return vendorId;
        }

        public void setVendorId(String vendorId) {
            this.vendorId = vendorId;
        }

        public Date getUpdatedAt() {
            return updatedAt;
        }

        public void setUpdatedAt(Date updatedAt) {
            this.updatedAt = updatedAt;
        }

        public String getCreatedPerson() {
            return createdPerson;
        }

        public void setCreatedPerson(String createdPerson) {
            this.createdPerson = createdPerson;
        }

        public Date getCreatedAt() {
            return createdAt;
        }

        public void setCreatedAt(Date createdAt) {
            this.createdAt = createdAt;
        }

        public Long getReceivedStatus() {
            return receivedStatus;
        }

        public void setReceivedStatus(Long receivedStatus) {
            this.receivedStatus = receivedStatus;
        }

        public Long getReceivedNum() {
            return receivedNum;
        }

        public void setReceivedNum(Long receivedNum) {
            this.receivedNum = receivedNum;
        }

        public Long getReturnNum() {
            return returnNum;
        }

        public void setReturnNum(Long returnNum) {
            this.returnNum = returnNum;
        }

        public Long getRejectNum() {
            return rejectNum;
        }

        public void setRejectNum(Long rejectNum) {
            this.rejectNum = rejectNum;
        }

        public Long getPayoffNum() {
            return payoffNum;
        }

        public void setPayoffNum(Long payoffNum) {
            this.payoffNum = payoffNum;
        }

        public Long getRemainingNum() {
            return remainingNum;
        }

        public void setRemainingNum(Long remainingNum) {
            this.remainingNum = remainingNum;
        }

        public Long getNotcodeNum() {
            return notcodeNum;
        }

        public void setNotcodeNum(Long notcodeNum) {
            this.notcodeNum = notcodeNum;
        }

        public Long getCodeNum() {
            return codeNum;
        }

        public void setCodeNum(Long codeNum) {
            this.codeNum = codeNum;
        }

        public Long getPoNum() {
            return poNum;
        }

        public void setPoNum(Long poNum) {
            this.poNum = poNum;
        }

        public Long getId() {
            return id;
        }

        public void setId(Long id) {
            this.id = id;
        }

        public String getUom() {
            return uom;
        }

        public void setUom(String uom) {
            this.uom = uom;
        }

        public String getSpec() {
            return spec;
        }

        public void setSpec(String spec) {
            this.spec = spec;
        }

        public String getItemName() {
            return itemName;
        }

        public void setItemName(String itemName) {
            this.itemName = itemName;
        }

        public String getItemId() {
            return itemId;
        }

        public void setItemId(String itemId) {
            this.itemId = itemId;
        }

        public String getPoOrg() {
            return poOrg;
        }

        public void setPoOrg(String poOrg) {
            this.poOrg = poOrg;
        }

        public String getPoId() {
            return poId;
        }

        public void setPoId(String poId) {
            this.poId = poId;
        }

        /** 订单数量 */
        private Long id;
        /** 订单数量 */
        private Long poNum;
        /** 已打码数量 */
        private Long codeNum;
        /** 未打码数量 */
        private Long notcodeNum;
        /** 剩余数量 (计算字段) */
        private Long remainingNum;
        /** 已送料数量 */
        private Long payoffNum;
        /** 已拒收数量 */
        private Long rejectNum;
        /** 已退货数量 */
        private Long returnNum;
        /** 已收货数量 */
        private Long receivedNum;
        /** 到货状态 */
        private Long receivedStatus;
        /** 创建时间 */
        @JsonFormat(pattern = "yyyy-MM-dd")
        private Date createdAt;
        /** 创建人 */
        private String createdPerson;
        /** 更新时间 */
        @JsonFormat(pattern = "yyyy-MM-dd")
        private Date updatedAt;
        // 供应商信息
        /** 供应商编码 */
        private String vendorId;
        /** 供应商名称 */
        private String vendorName;



}
